package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

public class UserSystemInfo extends DataObject {
    private long userId;
    private int systemId;
    private boolean isGetPreviewReward;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getSystemId() {
        return systemId;
    }

    public void setSystemId(int systemId) {
        if(this.systemId != systemId) {
            this.systemId = systemId;
            setUpdateOption();
        }
    }

    public boolean isGetPreviewReward() {
        return isGetPreviewReward;
    }

    public void setGetPreviewReward(boolean getPreviewReward) {
        if(getPreviewReward != isGetPreviewReward) {
            isGetPreviewReward = getPreviewReward;
            setUpdateOption();
        }
    }
}
